package com.itedge.solutionmanager.web.taskhandler.impl.customer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;

import com.itedge.solutionmanager.domain.impl.Customer;
import com.itedge.infrastructure.service.process.IProcessService;
import com.itedge.infrastructure.service.task.ITaskService;
import com.itedge.infrastructure.service.taskdata.ITaskDataEntityService;
import com.itedge.infrastructure.stereotype.WebHandler;
import com.itedge.solutionmanager.taskdata.impl.customer.AddContactPersonTaskData;
import com.itedge.solutionmanager.web.convert.ISOFormattingConversionServiceBean;
import com.itedge.infrastructure.web.taskhandler.impl.AbstractTaskDataHandler;

@WebHandler
public class AddContactPersonTaskDataHandler extends AbstractTaskDataHandler<AddContactPersonTaskData, Customer> {

    @Autowired
	protected AddContactPersonTaskDataHandler(ISOFormattingConversionServiceBean conversionService,
			IProcessService<Customer> customerProcessService,
			ITaskDataEntityService<AddContactPersonTaskData> addContactPersonTaskDataService,
			ITaskService<AddContactPersonTaskData, Customer> addContactPersonTaskService,
			MessageSource messageSource) {
		super(conversionService, customerProcessService, addContactPersonTaskDataService, 
				addContactPersonTaskService, messageSource);
	}
	
	@Override
	protected Class<AddContactPersonTaskData> getTaskDataClass() {
		return AddContactPersonTaskData.class;
	}
	
}
